<?php

$server = "website";
$host="localhost"; // Host name
$username="z247s504_admin"; // Mysql username
$password="PxLpCd07"; // Mysql password
$database="z247s504_website"; // Mysql Database

$con = mysql_connect($host,$username,$password);
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db($database, $con);


            $transaction_id = "12345";
            $payerid = "12345";
			$item_number = "12345";
			$item_title = "item title";
            $firstname = "First name";
            $lastname = "Last name";
            $payeremail = "email";
            $paymentdate = "pay date";
            $paymentstatus = "status";
            $mdate= "date";
            $otherstuff = "other";



           // if($paymentstatus=="Completed")
			//{
            	
				
mysql_query("INSERT INTO paypal_payments

(

transaction_id

) 

VALUES

(

'$transaction_id'
	
) 

"); 

?>